package com.css.crm.dao;

import java.util.List;

import com.css.crm.vo.RegisterVo;

/**
 * @Interface RegisterDao
 * @Author lwh
 * @CreateDate 2013-10-15
 * @ModifyBy
 * @ModifyDate
 */
public interface RegisterDao extends BaseDao {

	/**
	 * get one record by id param type String return record
	 **/
	RegisterVo getRegisterById(Long id);

	/**
	 * delete one record by id param type String return type int
	 **/
	int deleteRegisterById(Long id);

	/**
	 * insert one record param type record return type int
	 **/
	int insertRegister(RegisterVo vo);

	/**
	 * update one record param type record return type int
	 **/
	int updateRegister(RegisterVo vo);

	/**
	 * get a collect record param type record return type List
	 **/
	List<RegisterVo> queryRegister(RegisterVo vo);

}
